﻿<%@ Page Title="" Language="C#" MasterPageFile="~/InnerInfo/InnerMaster.Master" AutoEventWireup="true" CodeBehind="InnerInfoQueryList.aspx.cs" Inherits="QuaManSys.InnerInfo.InnerInfoQueryList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<link rel="Stylesheet" href="../Css/QuaInfoPro.css" type="text/Css" />
<script type="text/javascript">

</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphInner" runat="server">
    <div>
        <div>
            <center>
                <asp:Label ID="outerQuery" runat="server" Text="内部质量信息查询" Style="font-size: 20px"></asp:Label>
            </center>
        </div>
        <fieldset>
            <legend>请输入需要查询信息：</legend>
            <table class="QueryClass">
                <tr>
                    <td align="left" width="33%"> 
                        <asp:Label ID="lblInfoId" runat="server" Text="内部质量信息编号："></asp:Label>
                        <asp:TextBox ID="txtInfoId" runat="server" AutoPostBack="true"></asp:TextBox>
                    </td>
                    <td align="left" width="33%">
                        <asp:Label ID="lblProNo" runat="server" Text="工程编号：" ></asp:Label>
                        <asp:DropDownList ID="ddlProNo" runat="server" AutoPostBack="True">                   
                        </asp:DropDownList>
                    </td>
                    <td align="left" width="33%">
                        <asp:Label ID="Label6" runat="server" Text="机型："></asp:Label>
                        <asp:DropDownList ID="ddlMacType" runat="server" AutoPostBack="True">                   
                        </asp:DropDownList>
                    </td>
                </tr>

                <tr>
                    <td align="left" width="33%">
                        <asp:Label ID="Label7" runat="server" Text="机号："></asp:Label>
                        <asp:DropDownList ID="ddlMacNos" runat="server" AutoPostBack="True">
                        </asp:DropDownList>
                    </td>
                    <td align="left" width="33%"> 
                        <asp:Label ID="Label2" runat="server" Text="生产厂家："></asp:Label>
                        <asp:DropDownList ID="factory" runat="server" AutoPostBack="True">
                        </asp:DropDownList>
                    </td>
                    <td align="left" width="33%">
                        <label for="lblImpLev" class="sixteen">重要级别</label>
                        <asp:DropDownList ID="ddlImpLev" runat="server" CssClass="sixteen" AutoPostBack="True">
                            <asp:ListItem Text="----请选择----" Value=""></asp:ListItem>
                            <asp:ListItem>高</asp:ListItem>
                            <asp:ListItem>中</asp:ListItem>
                            <asp:ListItem>低</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="left" width="33%">
                        <asp:Label ID="Label3" runat="server" Text="信息表状态"></asp:Label>
                        <asp:DropDownList ID="ddlInfoState" runat="server" CssClass="sixteen" AutoPostBack="True">
                            <asp:ListItem Text="----请选择----" Value=""></asp:ListItem>
                            <asp:ListItem>未处理（需跟踪处理）</asp:ListItem>
                            <asp:ListItem>已处理（需后继关注）</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td align="left" width="33%"> 
                        <asp:Button ID="btnSearchAll" runat="server" Text="总表查询" onclick="btnSearchAll_Click" />
                    </td>
                    <td align="left" width="33%">
                        <asp:Button ID="btnSearchByDept" runat="server" Text="部门查询" onclick="btnSearchByDept_Click" />
                    </td>
                </tr>
            </table>

        </fieldset>
        <div>
            查询到<asp:Label ID="lblCount" runat="server" Text="0"></asp:Label>条记录。
        </div>
        <fieldset>
            <legend>查询记录显示</legend>
            <asp:GridView ID="GridView1" runat="server" EmptyDataText="没有记录！" AutoGenerateColumns="false " EnableViewState="False">
                <Columns>
                    <asp:BoundField DataField="qualityInfoId" HeaderText="外部质量信息编号" />
                    <asp:BoundField DataField="projectNo" HeaderText="工程编号" />
                   <%-- <asp:BoundField DataField="qualityInfoId" HeaderText="机型" />
                    <asp:BoundField DataField="qualityInfoId" HeaderText="机号" />--%>
                    <asp:BoundField DataField="producer" HeaderText="生产厂家" />
                                     
                    <asp:BoundField DataField="levelOfImportance" HeaderText="重要级别" />
                    <asp:BoundField DataField="registrantName" HeaderText="登记人" />
                    <asp:HyperLinkField HeaderText="详细信息" Text="详细信息" DataNavigateUrlFields="qualityInfoId"
                        DataNavigateUrlFormatString="InnerInfoDistribute.aspx?qualityInfoId={0}" />
                    
                </Columns>
            </asp:GridView>
        </fieldset>
    </div>
</asp:Content>
